package com.lcxw.hxzbadmin.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@Setter
@Getter
@ToString(exclude = "password")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties("password")
@TableName("ywpd_admin")
public class AdminUser {

    /**
     * 数据库中的id
     */
    private int id;

    /**
     * admin的登录账号
     */
    private String adminName;

    /**
     * admin用户类型，0：超级管理员，1：普通管理员
     */
    private String adminType;

    /**
     * 密码
     */
    private String password;

    /**
     * 上次登录时间
     */
    private String lastLogTime;

    /**
     * 上次登录IP
     */
    private String lastLogIp;

    /**
     * 添加时间
     */
    private String addTime;

}
